export default {
	//首页菜单不显示红点按钮的条目
	indexMenuNotShowRedPoint: {
		add(name) {
			let obj = this.get()
			obj[name] = true
			wx.setStorageSync("indexMenuNotShowRedPoint", JSON.stringify(obj))
		},
		get() {
			return wx.getStorageSync("indexMenuNotShowRedPoint")
				? JSON.parse(wx.getStorageSync("indexMenuNotShowRedPoint"))
				: {}
		},
	},
	//是否显示联系客服按钮
	showContractKefuBtn: {
		set(value) {
			wx.setStorageSync("showContractKefuBtn", value)
		},
		get() {
			return wx.getStorageSync("showContractKefuBtn")
		},
	}
}
